import { ViewStyle } from 'react-native';

export function isActive(index: number, scrollIndex): ViewStyle {
  return index === scrollIndex - 2
    ? { backgroundColor: 'yellow' }
    : { backgroundColor: 'white' };
}
s;
